Content Understanding (preview:2024-12-01)

2025/03/17 • 9 new methods

Analyzers_List (new)
Description List analyzers.
Reference Link ¶

⚼ Request

GET:  /analyzers
{
api-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_Get (new)
Description Get analyzer properties.
Reference Link ¶

⚼ Request

GET:  /analyzers/{analyzerId}
{
api-version: string ,
analyzerId: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_CreateOrReplace (new)
Description Create a new analyzer asynchronously.
Reference Link ¶

⚼ Request

PUT:  /analyzers/{analyzerId}
{
api-version: string ,
analyzerId: string ,
x-ms-client-request-id: string ,
resource:
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-location: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_Update (new)
Description Update analyzer properties.
Reference Link ¶

⚼ Request

PATCH:  /analyzers/{analyzerId}
{
api-version: string ,
analyzerId: string ,
x-ms-client-request-id: string ,
resource:
{
description: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_Delete (new)
Description Delete analyzer.
Reference Link ¶

⚼ Request

DELETE:  /analyzers/{analyzerId}
{
api-version: string ,
analyzerId: string ,
x-ms-client-request-id: string ,
}

⚐ Response (204)

{
x-ms-client-request-id: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_Analyze (new)
Description Extract content and fields from input.
Reference Link ¶

⚼ Request

POST:  /analyzers/{analyzerId}:analyze
{
api-version: string ,
analyzerId: string ,
x-ms-client-request-id: string ,
body:
{
url: string ,
}
,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
result:
{
analyzerId: string ,
apiVersion: string ,
createdAt: string ,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
contents:
[
{
kind: enum ,
markdown: string ,
fields: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_GetOperationStatus (new)
Description Get the status of an analyzer creation operation.
Reference Link ¶

⚼ Request

GET:  /analyzers/{analyzerId}/operations/{operationId}
{
api-version: string ,
analyzerId: string ,
operationId: string ,
}

⚐ Response (200)

{
id: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
result:
{
analyzerId: string ,
description: string ,
tags: object ,
status: enum ,
createdAt: string ,
lastModifiedAt: string ,
scenario: string ,
config:
{
locales:
[
string ,
]
,
enableFace: boolean ,
enableOcr: boolean ,
enableLayout: boolean ,
enableBarcode: boolean ,
enableFormula: boolean ,
returnDetails: boolean ,
}
,
fieldSchema:
{
name: string ,
description: string ,
fields: object ,
definitions: object ,
}
,
trainingData:
{
kind: enum ,
}
,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_GetResult (new)
Description Get the result of an analysis operation.
Reference Link ¶

⚼ Request

GET:  /analyzers/{analyzerId}/results/{operationId}
{
api-version: string ,
analyzerId: string ,
operationId: string ,
}

⚐ Response (200)

{
id: string ,
status: enum ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
result:
{
analyzerId: string ,
apiVersion: string ,
createdAt: string ,
warnings:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
contents:
[
{
kind: enum ,
markdown: string ,
fields: object ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Analyzers_GetResultImage (new)
Description Get an image associated with the result of an analysis operation.
Reference Link ¶

⚼ Request

GET:  /analyzers/{analyzerId}/results/{operationId}/images/{imageId}
{
api-version: string ,
analyzerId: string ,
operationId: string ,
imageId: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}